//
//  ICEWDPTitle.m
//  ICEH5Bridge
//
//  Created by wujianrong on 2017/8/14.
//  Copyright © 2017年 wanda. All rights reserved.
//

#import "ICEEMTitle.h"
#import "ICEUI.h"
#import "ICEJavaScriptBridge.h"
@implementation ICEEMTitle
-(void)setTitle:(NSDictionary*)args
{
    NSDictionary* param = [args objectForKey:@"param"];
    NSString* title = [param objectForKey:@"title"];
    ICEWebInfo* vcinfo = [args objectForKey:@"vcinfo"];
    
    if (vcinfo.vc) {
        [vcinfo.vc leftNavigationItemWithObject:nil right:nil title:title];
    }
    
    
    NSDictionary* ret = nil;
    ret = @{
            @"status":@"success",
            };
    [ICEJavaScriptBridge sendReslutToJS:ret callInfo:args];
}
@end
